class TsinvitEntity {
	int code;
	TsinvitData data;
	String message;

	TsinvitEntity({this.code, this.data, this.message});

	TsinvitEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new TsinvitData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class TsinvitData {
	String indirect;
	String money;
	String direct;

	TsinvitData({this.indirect, this.money, this.direct});

	TsinvitData.fromJson(Map<String, dynamic> json) {
		indirect = json['indirect'];
		money = json['money'];
		direct = json['direct'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['indirect'] = this.indirect;
		data['money'] = this.money;
		data['direct'] = this.direct;
		return data;
	}
}
